package shop.services.manage.cart.dao.impl;

import org.springframework.stereotype.Repository;
import shop.core.common.dao.BaseDao;
import shop.core.common.dao.page.PagerModel;
import shop.services.manage.cart.bean.Cart;
import shop.services.manage.cart.dao.CartDao;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2017/4/26.
 */
@Repository("cartDaoManage")
public class CartDaoImpl implements CartDao {
    @Resource
    private BaseDao dao;
    public void setDao(BaseDao dao) {
        this.dao = dao;
    }

    public CartDaoImpl() {
        super();
    }

    @Override
    public int insert(Cart cart) {
        return 0;
    }

    @Override
    public int delete(Cart cart) {
        return 0;
    }

    @Override
    public int update(Cart cart) {
        return 0;
    }

    @Override
    public Cart selectOne(Cart cart) {
        return null;
    }

    @Override
    public PagerModel selectPageList(Cart cart) {
        return null;
    }

    @Override
    public List<Cart> selectList(Cart cart) {
        return null;
    }

    @Override
    public int deleteById(int id) {
        return 0;
    }

    @Override
    public Cart selectById(String id) {
        return null;
    }
}
